ARD2  1.00 for Rev B. Hardware
Airbag Reference Demonstrator using MPC5604P
IntcInterrupts.h
00001 
00011 #ifndef _INTCINTERRUPTS_H_
00012 #define _INTCINTERRUPTS_H_
00013 
00014 /*----------------------------------------------------------------------------*/
00015 /* Types                                                                      */
00016 /*----------------------------------------------------------------------------*/
00017 
00019 #ifndef _INT_HANDLER_DECLARED
00020 #define _INT_HANDLER_DECLARED
00021 typedef void(*INTCInterruptFn)(void);
00022 #endif
00023 /*----------------------------------------------------------------------------*/
00024 /* Function declarations                                                      */
00025 /*----------------------------------------------------------------------------*/
00026 
00027 #ifdef __cplusplus
00028 extern "C" {
00029 #endif
00030 
00036 __asm void INTC_InitINTCInterrupts(void);
00037 
00048 void INTC_InstallINTCInterruptHandler(INTCInterruptFn handlerFn, unsigned short vectorNum,
00049                                       unsigned char psrPriority);
00050 
00051 #pragma section RX ".__exception_handlers"
00052 
00057 __declspec (section ".__exception_handlers") void INTC_INTCInterruptHandler(void);
00058 
00059 #ifdef __cplusplus
00060 }
00061 #endif
00062 
00063 #endif
00064